# $Id: PKGBUILD 65445 2012-02-21 05:49:25Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=sk1libs
pkgver=0.9.1
pkgrel=3
pkgdesc='A set of python non-GUI extensions for sK1 Project.'
arch=('i686' 'x86_64')
url='http://sk1project.org/'
license=('custom:LGPL2')
depends=('python2' 'freetype2' 'lcms')
source=("${pkgname}-${pkgver}.tar.gz::http://sk1project.org/dc.php?target=${pkgname}-${pkgver}.tar.gz")
md5sums=('e18088bbc8a105e7535a96f40b80f284')

build() {
  cd ${pkgname}-${pkgver}
  python2 setup.py build
}

package() {
  cd ${pkgname}-${pkgver}
  python2 setup.py install --root ${pkgdir}
  install -D -m644 GNU_LGPL_v2 ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}
